import http from '../utils/request';

// 查询轮播图
export const getCarouselList = (params) => {
    return http.get('/carousel/list', params, {
        'content-type': 'application/x-www-form-urlencoded'
    })
}

// 查询通知公告
export const getAnnouncementList = (params) => {
    return http.get('/announcement/list', params, {
        'content-type': 'application/x-www-form-urlencoded'
    })
}
